﻿<!DOCTYPE html>
<html lang="en">
<head>
    <!-- BEGIN META -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="Custom Theme">
    <!-- END META -->

    <!-- BEGIN SHORTCUT ICON -->
    <link rel="shortcut icon" href="static/img/favicon.ico">
    <!-- END SHORTCUT ICON -->
    <title>
        高校人事管理-用户子系统
    </title>
    <!-- BEGIN STYLESHEET-->
    <link href="static/css/bootstrap.min.css" rel="stylesheet"><!-- BOOTSTRAP CSS -->
    <link href="static/css/bootstrap-reset.css" rel="stylesheet"><!-- BOOTSTRAP CSS -->
    <link href="static/assets/font-awesome/css/font-awesome.css" rel="stylesheet"><!-- FONT AWESOME ICON CSS -->
    <link href="static/css/style.css" rel="stylesheet"><!-- THEME BASIC CSS -->
    <link href="static/css/style-responsive.css" rel="stylesheet"><!-- THEME RESPONSIVE CSS -->
    <!--[if lt IE 9]>
    <script src="static/js/html5shiv.js">
    </script>
    <script src="static/js/respond.min.js">
    </script>
    <![endif]-->
    <!-- END STYLESHEET-->
    <script src="static/js/jquery.js"></script><!-- BASIC JQUERY LIB. JS -->
    <script src="static/js/bootstrap.min.js"></script><!-- BOOTSTRAP JS -->
    <script type="text/javascript" src="static/myjs/jquery.form.js"></script>
    <script type="text/javascript" src="static/myjs/register.js"></script>
</head>
<body class="login-screen">
<!-- BEGIN SECTION -->

<div class="container">
    <section class="wrapper site-min-height">
        <form class="form-signin" action="stafflogin" method="post">
            <h2 class="form-signin-heading">
                高校人事管理 - 用户子系统
            </h2>
            <!-- LOGIN WRAPPER  -->
            <div class="login-wrap">
                <input name="username" type="text" class="form-control" placeholder="用户名" autofocus>
                <input name="password" type="password" class="form-control" placeholder="密码">
                <button class="btn btn-lg btn-login btn-block" type="submit">
                    登录
                </button>
                <div class="registration">
                    如果你不是普通用户,可以尝试
                    <a class="" href="home">
                        管理员登录
                    </a>
                    或者
                    <a data-toggle="modal" data-target="#myModal">
                        注册
                    </a>
                </div>
            </div>
            <!-- END LOGIN WRAPPER -->
            <!-- MODAL -->

            <!-- END MODAL -->
        </form>
    </section>
    <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
         aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                        &times;
                    </button>
                    <h4 class="modal-title" id="myModalLabel">
                        编辑职工信息
                    </h4>
                </div>
                <div class="modal-body">
                    <form id="updatenews" action="staff" method="post">
                        <div class="panel-body">
                            <input id="id" name="id" hidden>
                            <input id="type" name="type" hidden>
                            <input id="sex" name="sex" hidden>
                            <input id="option" name="option" value="CCC" hidden>
                            <input id="own" name="own" value="1" hidden>
                            <div class="form-group">
                                <label for="exampleInputPassword1">姓名</label>
                                <input type="text" class="form-control" id="username" name="username"
                                       placeholder="请输入姓名">
                            </div>
                            <div class="form-group">
                                <label for="exampleInputPassword1">密码</label>
                                <input type="password" class="form-control" id="password" name="password"
                                       placeholder="请输入6~20位密码">
                            </div>
                            <div class="form-group">
                                <label for="exampleInputPassword1">身份证</label>
                                <input type="number" class="form-control" id="ident" name="ident"
                                       placeholder="请输入18位身份证">
                            </div>
                            <div class="form-group">
                                <label for="exampleInputPassword1">电话</label>
                                <input type="number" class="form-control" id="phone" name="phone"
                                       placeholder="请输入7~11位电话号码">
                            </div>
                            <div class="form-group">
                                <label for="exampleInputPassword1">性别</label><br>
                                <div class="btn-group" data-toggle="buttons">
                                    <label class="btn btn-default active">
                                        <input class="sex" type="radio" id="option1" checked>
                                        男
                                    </label>
                                    <label class="btn btn-default">
                                        <input class="sex" type="radio" id="option2">
                                        女
                                    </label>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="exampleInputPassword1">类型</label><br>
                                <div class="btn-group" data-toggle="buttons">
                                    <label class="btn btn-default active">
                                        <input class="type" type="radio" id="option3" checked>
                                        教师
                                    </label>
                                    <label class="btn btn-default">
                                        <input class="type" type="radio" id="option4">
                                        劳务工
                                    </label>
                                </div>
                            </div>

                            <div class="form-group">
                                <label for="exampleInputPassword1">所在部门：仅为教师时有效</label><br>
                                <div class="btn-group">
                                    <button class="btn btn-white" type="button" id="desc">
                                        信息学院
                                    </button>
                                    <button data-toggle="dropdown" class="btn btn-white dropdown-toggle"
                                            type="button"><span class="caret"></span></button>
                                    <ul role="menu" class="dropdown-menu">
                                        <li><a href="javascript:void(0);" onclick="choose(1,'信息学院')">信息学院</a>
                                        </li>
                                        <li><a href="javascript:void(0);"
                                               onclick="choose(2,'机械自动化学院')">机械自动化学院</a></li>
                                        <li><a href="javascript:void(0);" onclick="choose(3,'电子学院')">电子学院</a>
                                        </li>
                                    </ul>
                                </div>

                            </div>

                            <div class="form-group">
                                <label for="exampleInputPassword1">薪资</label>
                                <input type="number" class="form-control" id="reap" name="reap"
                                       placeholder="请输入职工薪资">
                            </div>
                            <div class="form-group">
                                <label for="exampleInputPassword1">QQ</label>
                                <input type="number" class="form-control" id="qq" name="qq"
                                       placeholder="填写QQ有便于联系您">
                            </div>

                        </div>
                    </form>

                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭
                    </button>
                    <button id="update" type="button" class="btn btn-primary">
                        提交更改
                    </button>
                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal -->
    </div>

</div>

</body>
</html>

